#ifndef __PIPELINE_H__
#define __PIPELINE_H__

#include <string>
#include <vector>
#include "command.h"

class Process;

class Pipeline : public Command
{
	private:
		std::vector<Process *> processes;
		std::string input;
		std::string output;
		bool append;

	public:
		Pipeline();
		virtual ~Pipeline();

		void addProcess(Process *proces);
		void setInput(std::string file);
		void setOutput(std::string file, bool append);
		virtual void execute() const;
};

#endif
